package com.xinghou.platform.server.api.service;

import com.xinghou.platform.model.main.SearchPolymerization;
import com.xinghou.platform.model.main.Store;

import java.io.IOException;
import java.util.List;

/**
 * 门店信息检索
 * @author xuzhen
 *
 */
public interface StoreLuceneApiService {
	public List<SearchPolymerization> getSearchPolymerization(boolean share,String key,double distinct, double lat, double lng,double level, String userType, String citycode) throws IOException;


	public List<Store> getSearchStoreInfos(String key, int fromno, int pagesize, String City_id,double distinct, double lat, double lng) throws IOException;

	public List<Store> getSearchStoreInfos(String key, int fromno, int pagesize,double distinct, double lat, double lng) throws IOException;
	
	public List<Store> getSearchStoreInfos(String key, int fromno, int pagesize) throws IOException;
	
	public int saveStore(Store store);
	
	public int updateStore(Store store);
}
